package com.stylefeng.guns.modular.apple_app_manage.service;

import com.stylefeng.guns.modular.apple_app_manage.entity.ApplicationDTO;
import com.stylefeng.guns.modular.apple_app_manage.model.Application;
import com.baomidou.mybatisplus.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 应用表 服务类
 * </p>
 *
 * @author GodRui
 * @since 2020-06-20
 */
public interface IApplicationService extends IService<Application> {
    void addNewApplication(ApplicationDTO app);

    void deleteApplicationById(Integer id);

    void updateApplicationById(Integer id, MultipartFile file);

    void updateApplicationWithDomainName(String sourceDomain, String targetDomain);
    // 上下架应用
    void onOffApplicationById(Integer id);
    //获取应用名称列表
    Object getAppNameList();

}
